Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

textinput: don't deactivate ime if another ti is focused #7617

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

sungyoonc
Copy link
Contributor

Describe your PR, what does it fix/add?

Fix ime getting deactivated when closing a window on certain applications.

Some applications like alacritty, doesn't explicitly destroy text input object when closing the application.
This results in ime getting deactivated when it's already focused on another window, due to the destory event getting emitted after the keyboard focus event.

This is a follow up MR of #7614. Because the original fix (#5455) was broken, I've split it into a separate MR.

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

Nope.

Is it ready for merging, or does it need work?

Ready for merging.

Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@vaxerski vaxerski merged commit 6934e7a into hyprwm:main Sep 1, 2024
10 checks passed
@sungyoonc sungyoonc deleted the fix-ime-race-again branch September 1, 2024 22:44
m4r1vs pushed a commit to m4r1vs/Hyprland that referenced this pull request Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants